package com.bjpowernode.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class PageController {
    @RequestMapping("/index.html")
    public String getIndex(){

        return "index";
    }
    @RequestMapping("/top.html")
    public String getTop(){
        return "top";
    }

    @RequestMapping("/left.html")
    public String getLeft(){return "left";}

    @RequestMapping("/welcome.html")
    public String getWelcome(){return "welcome";}

    @RequestMapping("/product.html")
    public String getProduct(){return "product";}

    @RequestMapping("/product_ajax.html")
    public String getProductAjax(){return "product_ajax";}

    @RequestMapping("/type.html")
    public String getType(){return "type";}
    @RequestMapping("/type_ajax.html")
    public String getTypeAjax(){return "type_ajax";}
    @RequestMapping("/login.html")
    public String getLogin(){return "logini";}
}

